home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / Portable Patmos / usr / include / rpcsvc / yppasswd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-08  |  452 b   |  28 lines  |  [TEXT/R*ch]

  1.  
  2. #define YPPASSWDPROG ((u_long)100009)
  3. #define YPPASSWDVERS ((u_long)1)
  4. #define YPPASSWDPROC_UPDATE ((u_long)1)
  5. extern int *yppasswdproc_update_1();
  6.  
  7.  
  8. struct x_passwd {
  9.     char *pw_name;
  10.     char *pw_passwd;
  11.     int pw_uid;
  12.     int pw_gid;
  13.     char *pw_gecos;
  14.     char *pw_dir;
  15.     char *pw_shell;
  16. };
  17. typedef struct x_passwd x_passwd;
  18. bool_t xdr_x_passwd();
  19.  
  20.  
  21. struct yppasswd {
  22.     char *oldpass;
  23.     x_passwd newpw;
  24. };
  25. typedef struct yppasswd yppasswd;
  26. bool_t xdr_yppasswd();
  27.  
  28.